package com.design.patterns.creativeModel.decorator.service;

public class News implements Notice {

    private String msgs;

    @Override
    public void push(String msg) {
        this.msgs = msg;
    }

    @Override
    public String pull() {
        return this.msgs;
    }
}
